﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;

namespace Handrise.CDCable.Business
{
    /// <summary>
    /// 巡视日志
    /// </summary>
    [Serializable]
    [EntityMapping(UploadListName = "patrolsrecordList", UploadEntityName = "PatrolsrecordData")]
    public class PatrolLog
    {
        [EntityMapping(UploadColumnName = "fid")]
        public string PatrolLogID { get; set; }

        /// <summary>
        /// 对应的巡视计划
        /// </summary>
        [EntityMapping(UploadColumnName = "fpatrolsplanid")]
        public string PlanID { get; set; }
        
        /// <summary>
        /// 日志时间
        /// </summary>
        [EntityMapping(UploadColumnName = "fdate")]
        public DateTime? LogDateTime { get; set; }


        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 上报状态
        /// </summary>
        public string ReportState { get; set; }
    }
}
